package OOP1.Zhuoyai.Zyai;

import java.util.Scanner;

public class TestMall {
    public static void main(String[] args) {
        Mall mm= new Mall();
        Scanner input = new Scanner(System.in);
        mm.function();
        System.out.println("请选择");
        int select=input.nextInt();
        switch (select){
            case 1:
                System.out.println("请输入新的会员信息");
                System.out.println("请输入会员号");
                mm.mid=input.next();
                System.out.println("请输入姓名");
                mm.name=input.next();
                System.out.println("请输入手机号");
                mm.Mobile=input.nextInt();
                System.out.println("请输入积分");
                mm.pos=input.nextInt();
                mm.chenggong();
                break;
            case 2:
                System.out.println("请输入");
        }
    }

}
